import { createRouter, createWebHistory, } from 'vue-router'
import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
    {
        path: '/register',
        name: 'register',
        component: () => import('../../pages/register.vue'),
        meta: {
            title: '注册'
        }
    }
] 
const router = createRouter({
    history: createWebHistory(),
    routes: routes
})
export default router
